package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用于存储库存信息的对象 hmz_inventory
 * 
 * @author ruoyi
 * @date 2023-11-10
 */
public class HmzInventory extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库唯一标识符 */
    private Long warehouseId;

    /** 产品唯一标识符 */
    @Excel(name = "产品唯一标识符")
    private Long productId;

    /** 是否出入库 */
    @Excel(name = "是否出入库")
    private Integer inOutStatus;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setWarehouseId(Long warehouseId) 
    {
        this.warehouseId = warehouseId;
    }

    public Long getWarehouseId() 
    {
        return warehouseId;
    }
    public void setProductId(Long productId) 
    {
        this.productId = productId;
    }

    public Long getProductId() 
    {
        return productId;
    }
    public void setInOutStatus(Integer inOutStatus) 
    {
        this.inOutStatus = inOutStatus;
    }

    public Integer getInOutStatus() 
    {
        return inOutStatus;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("warehouseId", getWarehouseId())
            .append("productId", getProductId())
            .append("inOutStatus", getInOutStatus())
            .append("delFlag", getDelFlag())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
